package com.best.oasis.settlement.web.action.department;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;

import com.best.oasis.settlement.common.entity.department.Department;
import com.best.oasis.settlement.common.so.department.DepartmentSO;
import com.best.oasis.settlement.common.vo.department.DepartmentVO;
import com.best.oasis.settlement.service.department.DepartmentService;
import com.best.oasis.settlement.util.page.PageList;
import com.best.oasis.settlement.web.action.base.BaseActionImpl;

@RemotingDestination
@Service
public class DepartmentActionImpl extends BaseActionImpl<DepartmentVO, Department> implements DepartmentAction {

	@Autowired
	private DepartmentService departmentService;
	
	public void afterConstruct() {
		super.setBaseService(departmentService);
	}
	public PageList<DepartmentVO> getPageList(DepartmentSO so){
		return departmentService.getPageList(so);
	}
}
